#ifndef DMA_H
#define DMA_H

#include "stm32f10x_dma.h"
#include "stm32f10x_rcc.h"

#define DMA_Buffer_Length 1024

// DMA Initialization
void USART_DMA_Init(DMA_Channel_TypeDef *DMA_Channel, uint32_t srcAddress, uint32_t dstAddress, uint32_t dataLength);
// DMA Transfer Data
void USART_DMA_Transfer_Data(DMA_Channel_TypeDef *DMA_Channel);

#endif